package org.example.cdpcrpbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.cdpcrpbackend.controller.dto.Class1;
import org.example.cdpcrpbackend.domain.Class;
import org.example.cdpcrpbackend.domain.Student;

import java.util.List;

public interface ClassMapper extends BaseMapper<Class> {
    Student login(@Param("username") String username, @Param("password") String password);

    List<Class1> listByCondition(@Param("key") String key);

    Class1 getClassInfoById(@Param("id") String id);
}
